package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.Role;
import com.huazhi.wzsnw.model.User;

import java.util.List;

public interface RoleService extends CurdService<Role>{

    List<Role> getRolesByUserTid(String usertid);

    List<String> getListTidBySearch(String search);

    Role existsRole(String rolename);

    Role existsRoleTid(String tid, String rolename);

    List<User> getListUserByRoleTid(String roletid);


}
